<?
session_start();
if(!isset($_SESSION['idUser']))
	exit();

require("includes/funciones.inc.php");
require("includes/constants.php");
require("includes/selectLanguage.php");

?>

<div class="formsPop">
	<form id="usersPopForm" name="usersPopForm" method="post">
		<table id="inPopUpN">
			<tbody>
				<tr>
					<td><?=$a_languages['Users.UserName']?></td>
					<td><input id="userName" name="userName" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserPassword']?></td>
					<td>
						<input id="userPassword" name="userPassword" type="password"><br/>
						<small id="whitePass" style="display: none;">* Dejar en blanco si no se quiere modificar la clave</small>
					</td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserCompleteName']?></td>
					<td><input id="userCompleteName" name="userCompleteName" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserEMail']?></td>
					<td><input id="userEMail" name="userEMail" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserPhone']?></td>
					<td><input id="userPhone" name="userPhone" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserAddress']?></td>
					<td><input id="userAddress" name="userAddress" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserExpirationDate']?></td>
					<td><input id="userExpirationDate" name="userExpirationDate" type="text"></td>
				</tr>
				<tr>
					<td><?=$a_languages['Users.UserTypeUser']?></td>
					<td><select id="cmbTypeUser" name="cmbTypeUser"></select></td>
				</tr>
			</tbody>
		</table>
		<div class="botonesActions">
			<a id="btnExit"><?=$a_languages['Common.Close']?></a>
			<a id="btnSave"><?=$a_languages['Common.Save']?></a>
		</div>
	</form>
</div>

<script>
	$(document).ready(function() {
		$_initPop();
	});
</script>